package com.daofree.gulimall.product;

import com.baomidou.mybatisplus.annotation.Version;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @ClassName GulimallProductApplication
 * @Description:
 *              整合mybatis-plus---mybatis-plus-boot-starter
 *              配置
 *                  数据源
 *                      驱动
 *                      配置数据源 application.yml
 *                  配置mybatis-plus
 *                      MapperScan指定扫描mapper接口位置
 *                      sql映射文件classpath:/mapper/....
 *                      配置主键自增@TableId
 *
 *
 * @Author DaoTianXia
 * @Date 2020-12-26-17:03
 * @Version V1.0
 **/

@MapperScan("com.daofree.gulimall.product.dao")
@SpringBootApplication
public class GulimallProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }
}
